<!doctype html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="description" content="A Modern Back-end Management System" />
    <meta name="keywords" content="Vben Admin Vue3 Vite" />
    <meta name="author" content="Vben" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
    />
    <!-- 由 vite 注入 VITE_APP_TITLE 变量，在 .env 文件内配置 -->
    <title><%= VITE_APP_TITLE %></title>
    <link rel="icon" href="/favicon.ico" />
    <script>
      // 生产环境下注入百度统计
      // if (window._VBEN_ADMIN_PRO_APP_CONF_) {
      //   var _hmt = _hmt || [];
      //   (function () {
      //     var hm = document.createElement('script');
      //     hm.src =
      //       'https://hm.baidu.com/hm.js?b38e689f40558f20a9a686d7f6f33edf';
      //     var s = document.getElementsByTagName('script')[0];
      //     s.parentNode.insertBefore(hm, s);
      //   })();
      // }
    </script>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
    <script>
     window.difyChatbotConfig = {
      token: 'Wwun4nxbbn7jvkZj',
      baseUrl: 'https://dify.ywwuzi.cn',
      systemVariables: {
        // user_id: 'YOU CAN DEFINE USER ID HERE',
        // conversation_id: 'YOU CAN DEFINE CONVERSATION ID HERE, IT MUST BE A VALID UUID',
      },
      userVariables: {
        // avatar_url: 'YOU CAN DEFINE USER AVATAR URL HERE',
        // name: 'YOU CAN DEFINE USER NAME HERE',
      },
     }
    </script>
    <script
     src="https://dify.ywwuzi.cn/embed.min.js"
     id="Wwun4nxbbn7jvkZj"
     defer>
    </script>
    <style>
      #dify-chatbot-bubble-button {
        background-color: #1C64F2 !important;
      }
      #dify-chatbot-bubble-window {
        width: 24rem !important;
        height: 40rem !important;
      }
    </style>
  </body>
</html>
